<template>
  <Swiper>
    <SwiperItem v-for="(item, index) in topImges" class="swiper-item">
      <img :src="item" alt="" />
    </SwiperItem>
  </Swiper>
</template>

<script>
import { Swiper, SwiperItem } from "@/components/common/swiper";
export default {
  name: "detailswiper",
  props: {
    topImges: {
      type: Array,
      default() {
        return [];
      },
    },
  },
  components: {
    Swiper,
    SwiperItem,
  },
};
</script>

<style scoped>
.swiper-item {
  height: 330px;
  overflow: hidden;
}
</style>